package cn.itsource.hrm.mapper;

import cn.itsource.hrm.domain.Tenant;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lixufeng
 * @since 2021-07-25
 */
public interface TenantMapper extends BaseMapper<Tenant> {

    //保存租户和套餐关联信息
    void insertTenantMeal(@Param("mealId") Long mealId, @Param("teantId") Long teantId, @Param("expireDate") Date expireDate, @Param("state") int state);

}
